package com.xiangban.xiangbanmall.dao;

import com.xiangban.xiangbanmall.model.TRelation;
import com.xiangban.xiangbanmall.model.TUserRelation;
import com.xiangban.xiangbanmall.model.dto.UserRelation;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/11/2 16:19
 */
@Repository
public interface RelationMapper {

    void updateUserRelationType(TUserRelation tUserRelation);

    List<UserRelation> selectUserRelationList(Integer userId);

    void insertUserRelation(TUserRelation tUserRelation);

    List<TRelation> selectRelationList();
}
